<% modelname = UserSession.human_name %>
<% form_for(@user_session, :url => user_session_path) do |f| %>
  <%= f.error_messages %>

  <table class="form_table" cellpadding="0" cellspacing="0" style="border-top: 0px;">

    <caption style="border-bottom: 0px;">
      <%= "#{modelname}" %>
    </caption>

    <tr>
      <td class="label"><%= f.label UserSession.human_attribute_name(:login) %></td>
      <td><%= f.text_field :login %></td>
    </tr>

    <tr>
      <td class="label"><%= f.label UserSession.human_attribute_name(:password) %></td>
      <td><%= f.text_field :password %></td>
    </tr>

    <tr>
      <td class="label"><%= f.label UserSession.human_attribute_name(:remember_me) %></td>
      <td><%= f.check_box :remember_me %></td>
    </tr>

    <tr>
      <td class="submit" colspan="4">
        <%= f.submit t(:enter) %>
      </td>
    </tr>
  </table>

<% end %>

